package com.youlu.campus.component;

import org.springframework.data.mongodb.MongoDatabaseFactory;
import org.springframework.data.mongodb.core.MongoTemplate;
import org.springframework.data.mongodb.core.convert.MongoConverter;

/**
 * Data 数据统计MongoTemplate
 */
public class DataMongoTemplate extends MongoTemplate {

//    public DataMongoTemplate(MongoClient mongoClient, String databaseName) {
//        super(mongoClient, databaseName);
//    }
//
//    public DataMongoTemplate(MongoClient mongoClient, String databaseName) {
//        super(mongoClient, databaseName);
//    }

    public DataMongoTemplate(MongoDatabaseFactory mongoDbFactory) {
        super(mongoDbFactory);
    }

    public DataMongoTemplate(MongoDatabaseFactory mongoDbFactory, MongoConverter mongoConverter) {
        super(mongoDbFactory, mongoConverter);
    }
}
